import React from 'react'

const Confirm = (props) => {
  return <div className="dialog-block has-mask full" >
    <div className="mall-content content">
      <div className="full-width title-wrapper">
        {/* <img className="title" src="img/mall/dialog/text-buy.png" alt=""/> */}
        <img onClick={props.closeModal} className="close" src="img/mall/dialog/close.png" alt=""/>
      </div>
      <div className="modal-wrapper">
        <div className="buy-row first">
          {props.modalContent}
        </div>
        <div className="bottom-btn">
          <img className="confirm" onClick={props.confirm} src="img/mall/dialog/confirm.png" alt=""></img>
          <img className="confirm" onClick={props.closeModal} src="img/mall/dialog/cancel.png" alt=""></img>
        </div>
      </div>
    </div>
  </div>
}

export default Confirm